<!DOCTYPE html>
<html>

<head>
	<meta content="telephone=no" name="format-detection">
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<meta http-equiv="Content-Language" content="zh-CN">
	<meta http-equiv="x-ua-compatible" content="IE=edge, chrome=1">
	<meta name="viewport"
		content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
	<meta name="renderer" content="webkit">
	<meta name="keywords" content="关键词" />
	<meta name="description" content="页面简介" />
	<link rel="icon" href="favicon.ico" />
	<link rel="shortcut icon" href="favicon.ico" />
	<link href="csaa/css/style.css" rel="stylesheet" type="text/css" />
	<link rel="stylesheet" href="./csaa/fonts/iconfont/iconfont.css">
	<link rel="stylesheet" href="./csaa/fonts/materialicons/material-icons.css">

	<script language="javascript" type="text/javascript" src="csaa/js/jquery.min.js"></script>
	<script language="javascript" type="text/javascript" src="csaa/js/site.js"></script>
	<script src="csaa/js/httpPath.js"></script>
	<script src="csaa/js/httpUtils.js"></script>
	<title>全国青少年航空科学素质等级考试</title>
</head>

<body>
	<!-- 头部 开始 -->
	<div class="header">

	</div>
	<!-- 头部 结束 -->


	<!-- 内页banner 开始 -->
	<div class="in_banner">
		<div class="in_banner_box" style="background-image: url(./demo/img/banner01.jpg)
	"></div>
		<div class="text">全国考务中心</div>
	</div>
	<!-- 内页banner 开始 -->

	<!-- 主体 开始 -->
	<div id="ex_main">
		<div class="main">
			<div class="ex_content">
				<div class="bread">
					<span class="bread_title">当前位置：</span>
					<div class="list">
						<a class="item" href="./index.html">首页</a>
						<a class="item" href="./examination_center.html">考务中心</a>
						<a class="item examination_name">北京/天津考务</a>
					</div>
				</div>
				<div class="list_ex_teacher">

				</div>

			</div>
			<div class="latest_news">
				<div class="kaowu_center_wrap">
					<a class="btn_kaowu" href="./examination_center.html">
						<i class="material-icons">&#xe8d1;</i>
						<span>全国考务中心</span>
					</a>
				</div>
				<div class="latest_title"><i class="material-icons">&#xe05e;</i><span class="text">最新动态</span></div>
				<div class="list_latest">

				</div>
				<div class="manage_btnwrap">
					<a class="btn btn_color_1" href="./news.html">查看更多</a>
				</div>
			</div>


			<!-- 考务中心模板 开始 -->
			<div id="tmp_item_ex" style="display: none;">
				<div class="item">
					<div class="img_wrap">
						<div class="img" style="background-image: url(./demo/img/news01.jpg);"></div>
					</div>
					<div class="text">
						<div class="text_item name">小张老师</div>
						<div class="text_item level"><span>等级:</span><span class="level_text">1级</span></div>
						<div class="text_item certificateNo"><span>证书编号:</span><span
								class="certificateNo_text">UUUIJHJ1654651651</span>
						</div>
					</div>
				</div>
			</div>
			<!-- 考务中心模板 结束 -->

			<!-- 动态模板 开始 -->
			<div id="tmp_item_news" style="display: none;">
				<div class="item">
					<div class="item_box">
						<a class="img_wrap">
							<div class="img" style="background-image: url()"></div>
						</a>
						<a class="text_wrap">
							<div class="title">
								<span class="title_text"></span>
							</div>
							<div class="subtitle"></div>
							<div class="time"></div>
						</a>
					</div>
				</div>
			</div>
			<!-- 动态模板 结束 -->

		</div>
		<!-- footer 开始-->
		<div class="footer_wrap">
		</div>
		<script>
			fun_islogin(true); //页面头部登录
			var centerId = getQueryString("id");
			var centerName = getQueryString("name");
			$(".examination_name").text(centerName);

			fun_getlist();//载入数据

			function fun_getlist() {

				var tmp_parms = {
					centerId: centerId
				};

				$.ajax({
					type: "POST",
					url: GET_getCenterTeacherList,
					//url: "./demo/json/taecher_list.json",
					data: tmp_parms,
					timeout: 20000,
					success: function (data, textStatus) {
						if (data.status == 1) {

							var $tmp_html = $("<div/>");
							var fetch_data = data.data.teacherList;

							if (fetch_data.length == 0) {
								$(".list_ex_teacher").html("<div class=\"nothing\">该考务中心暂无教师</div>");
								return false;
							} else {
								$(".list_ex_teacher .tips").remove();
								for (var i = 0; i < fetch_data.length; i++) {
									var $tmp_item = $("#tmp_item_ex .item").clone();


									$tmp_item.find(".img").css("background-image", "url(" + fetch_data[i].teacherPhoto + ")");
									$tmp_item.find(".name").text(fetch_data[i].name);
									$tmp_item.find(".level_text").text(fetch_data[i].level);
									$tmp_item.find(".certificateNo_text").text(fetch_data[i].certificateNo);

									$tmp_html.append($tmp_item);
								};
								$tmp_html.find(".item").appendTo(".list_ex_teacher");
							}
						} else {
							$.fn.winktips(data.msg);
							$(".list_ex_teacher").html("<div class=\"nothing\">未知原因，请稍后再试！</div>");
						};
					},
					error: function (XMLHttpRequest, textStatus, errorThrown) {
						$.fn.winktips("连接超时，请检查您的网络");
					}
				});

			};

			// 载入最新动态
			fun_news();
		</script>


		<!------------------------------------ 主体分割 -------------------------------->



	</div>
	<!-- 主体 结束 -->


</body>

</html>
